'''
Created on Sep 11, 2012

@author: kingsfield
'''

'''
with open('/home/kingsfield/Desktop/BestBuyPc/words_spell.csv') as fr:
    raw_data = fr.readlines()
raw_data = [line for line in raw_data if len(line.split(' ')) > 2]
#print raw_data

spell_dict = dict()
for line in raw_data:
    ss = line[0:-1].split(' ')
    key = ss[0]
    value = ' '.join(ss[2:]).lower()
    #print key + ' ' + value
    spell_dict[key] = value

print 'spell_dict=%s' % spell_dict
'''
